<?php
  
require_once("../../classes/myDatabase.php");

class User extends Database{

        public function postStatus($poststatus,$my_id){
        $this->connectDatabase();
        $sQuery = "INSERT INTO user_status (post_status,user_id)
                    VALUES('$poststatus','$my_id')";
        mysql_query($sQuery);
        }
    }
?>